package pers.wchen.mybatis.generate.model;

/**
 * @作者： wchen
 * @描述： 数据库表字段映射
 * @创建时间： 2018/2/9 0:34
 * @版本：Copyright 2018, Inc. All Rights Reserved.
 * @修改信息：
 */
public class DatabaseTablePropertyVO {
	private String field;
	private String transField;
	private String type;
	private String jdbcType;
	private String javaType;
	private String length;
	private String isNull;
	private String isKey;
	private String defaultValue;
	private String extra;
	private String comment;
	private String setterName;
	private String getterName;

	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public String getTransField() {
		return transField;
	}
	public void setTransField(String transField) {
		this.transField = transField;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getJdbcType() {
		return jdbcType;
	}
	public void setJdbcType(String jdbcType) {
		this.jdbcType = jdbcType;
	}
	public String getJavaType() {
		return javaType;
	}
	public void setJavaType(String javaType) {
		this.javaType = javaType;
	}
	public String getLength() {
		return length;
	}
	public void setLength(String length) {
		this.length = length;
	}
	public String getIsNull() {
		return isNull;
	}
	public void setIsNull(String isNull) {
		this.isNull = isNull;
	}
	public String getIsKey() {
		return isKey;
	}
	public void setIsKey(String isKey) {
		this.isKey = isKey;
	}
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	public String getExtra() {
		return extra;
	}
	public void setExtra(String extra) {
		this.extra = extra;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getSetterName() {
		return setterName;
	}
	public void setSetterName(String setterName) {
		this.setterName = setterName;
	}
	public String getGetterName() {
		return getterName;
	}
	public void setGetterName(String getterName) {
		this.getterName = getterName;
	}

	@Override
	public String toString() {
		return "DatabaseTablePropertyVO{" +
				"field='" + field + '\'' +
				", transField='" + transField + '\'' +
				", type='" + type + '\'' +
				", jdbcType='" + jdbcType + '\'' +
				", javaType='" + javaType + '\'' +
				", length='" + length + '\'' +
				", isNull='" + isNull + '\'' +
				", isKey='" + isKey + '\'' +
				", defaultValue='" + defaultValue + '\'' +
				", extra='" + extra + '\'' +
				", comment='" + comment + '\'' +
				", setterName='" + setterName + '\'' +
				", getterName='" + getterName + '\'' +
				'}';
	}
}
